const _import = require('@/router/_import_' + process.env.NODE_ENV)
/* Layout */
import Layout from '@/views/layout/Layout'

const Monitor = [{
  path: '/monitor',
  component: Layout,
  redirect: '/monitor/index',
  name: 'monitor',
  meta: { title: '业务监控', icon: 'zip' },
  children: [
    {
      path: 'index',
      component: _import('monitor/declaration/index'),
      name: 'declaration',
      meta: { title: '总申报情况' }
    },
    {
      path: 'inquiry',
      component: _import('monitor/inquiry/index'),
      name: 'inquiry',
      meta: { title: '报关单号查询' }
    },
    {
      path: 'declarationMonitor',
      component: _import('monitor/declarationMonitor/index'),
      name: 'declarationMonitor',
      meta: { title: '跨境申报业务监控' }
    }
  ]
}]

export default Monitor
